from flask import Flask

import os

app = Flask(__name__)


@app.route('/asin')
def index():

    print('正在执行ASIN监控爬虫项目！！！')
    os.system('scrapy crawl fk')
    return 'ASIN监控爬虫项目执行完毕！！！'



if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True, port=8080)
